package com.gujiangbo.jvm;

import java.util.ArrayList;

public class JvmTest {

    public static void main(String[] args) {
        ArrayList<byte[]> list = new ArrayList<>();

        for (; ; ) {
            byte[] b = new byte[1024 * 100];
            list.add(b);

            try {
                Thread.sleep(300);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

        }

    }
}
